package com.hmall.api.client;

import com.hmall.api.dto.PayOrderDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

import java.util.List;

@FeignClient(value = "pay-service")
public interface PayClient {
    @GetMapping("pay-orders/{id}")
    PayOrderDTO queryPayOrderById(@PathVariable("id") Long id);
}
